package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Email extends AbstractMethod {
    private static final String name = "email";
    /**
    Email the alert data.
    **/
    /**
    通过电子邮件发送警报数据。
    **/
    public Email(String ...to) {
        super(new ArrayList<>(), name);
        //
        for(String argf : to){
            this.args.add(new SingleQuotesArg(argf));
        }


    }
}
